package com.winstar.repository;

import com.winstar.entity.NumberAttribution;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created by Administrator on 2017/1/4.
 */
public interface NumberAttributionRepository extends JpaRepository<NumberAttribution,String> {
    /**
     * 根据手机号段查询
     *
     * @param phone 手机号段
     * @return  归属地实体
     */
    NumberAttribution findByPhone(String phone);
}
